Optimal. Leaf size=720 \[ -\frac{99 \sqrt{(3-2 x)^2} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2}}{14 \sqrt [3]{2} (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )}-\frac{33\ 3^{3/4} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{7\ 2^{5/6} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{99 \sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{28 \sqrt [3]{2} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{3}{7} (1-x)^{2/3} (2-x)^{2/3} x+\frac{45}{28} (1-x)^{2/3} (2-x)^{2/3} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.936076, antiderivative size = 720, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.318 \[ -\frac{99 \sqrt{(3-2 x)^2} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2}}{14 \sqrt [3]{2} (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )}-\frac{33\ 3^{3/4} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{7\ 2^{5/6} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{99 \sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{28 \sqrt [3]{2} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{3}{7} (1-x)^{2/3} (2-x)^{2/3} x+\frac{45}{28} (1-x)^{2/3} (2-x)^{2/3} \]
Warning: Unable to verify antiderivative.
[In] Int[x^2/((1 - x)^(1/3)*(2 - x)^(1/3)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 31.003, size = 651, normalized size = 0.9 \[ \frac{3 x \left (- x + 1\right )^{\frac{2}{3}} \left (- x + 2\right )^{\frac{2}{3}}}{7} + \frac{45 \left (- x + 1\right )^{\frac{2}{3}} \left (- x + 2\right )^{\frac{2}{3}}}{28} - \frac{99 \cdot 2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} \sqrt{4 x^{2} - 12 x + 9} \sqrt{\left (2 x - 3\right )^{2}}}{28 \left (- 2 x + 3\right ) \sqrt [3]{- x + 1} \sqrt [3]{- x + 2} \left (2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1 + \sqrt{3}\right )} + \frac{99 \cdot 2^{\frac{2}{3}} \sqrt [4]{3} \sqrt{\frac{2 \sqrt [3]{2} \left (x^{2} - 3 x + 2\right )^{\frac{2}{3}} - 2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1}{\left (2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1 + \sqrt{3}\right )^{2}}} \sqrt{- \sqrt{3} + 2} \left (2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1\right ) \sqrt [3]{x^{2} - 3 x + 2} \sqrt{\left (2 x - 3\right )^{2}} E\left (\operatorname{asin}{\left (\frac{2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} - \sqrt{3} + 1}{2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1 + \sqrt{3}} \right )}\middle | -7 - 4 \sqrt{3}\right )}{56 \sqrt{\frac{2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1}{\left (2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1 + \sqrt{3}\right )^{2}}} \left (- 2 x + 3\right ) \sqrt [3]{- x + 1} \sqrt [3]{- x + 2} \sqrt{4 x^{2} - 12 x + 9}} - \frac{33 \sqrt [6]{2} \cdot 3^{\frac{3}{4}} \sqrt{\frac{2 \sqrt [3]{2} \left (x^{2} - 3 x + 2\right )^{\frac{2}{3}} - 2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1}{\left (2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1 + \sqrt{3}\right )^{2}}} \left (2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1\right ) \sqrt [3]{x^{2} - 3 x + 2} \sqrt{\left (2 x - 3\right )^{2}} F\left (\operatorname{asin}{\left (\frac{2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} - \sqrt{3} + 1}{2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1 + \sqrt{3}} \right )}\middle | -7 - 4 \sqrt{3}\right )}{14 \sqrt{\frac{2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1}{\left (2^{\frac{2}{3}} \sqrt [3]{x^{2} - 3 x + 2} + 1 + \sqrt{3}\right )^{2}}} \left (- 2 x + 3\right ) \sqrt [3]{- x + 1} \sqrt [3]{- x + 2} \sqrt{4 x^{2} - 12 x + 9}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2/(1-x)**(1/3)/(2-x)**(1/3),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.0407959, size = 44, normalized size = 0.06 \[ \frac{3}{28} (1-x)^{2/3} \left ((2-x)^{2/3} (4 x+15)-33 \, _2F_1\left (\frac{1}{3},\frac{2}{3};\frac{5}{3};x-1\right )\right ) \]
Antiderivative was successfully verified.
[In] Integrate[x^2/((1 - x)^(1/3)*(2 - x)^(1/3)),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.099, size = 0, normalized size = 0. \[ \int{{x}^{2}{\frac{1}{\sqrt [3]{1-x}}}{\frac{1}{\sqrt [3]{2-x}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2/(1-x)^(1/3)/(2-x)^(1/3),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{{\left (-x + 2\right )}^{\frac{1}{3}}{\left (-x + 1\right )}^{\frac{1}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/((-x + 2)^(1/3)*(-x + 1)^(1/3)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{x^{2}}{{\left (-x + 2\right )}^{\frac{1}{3}}{\left (-x + 1\right )}^{\frac{1}{3}}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/((-x + 2)^(1/3)*(-x + 1)^(1/3)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt [3]{- x + 1} \sqrt [3]{- x + 2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2/(1-x)**(1/3)/(2-x)**(1/3),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{{\left (-x + 2\right )}^{\frac{1}{3}}{\left (-x + 1\right )}^{\frac{1}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/((-x + 2)^(1/3)*(-x + 1)^(1/3)),x, algorithm="giac")
[Out]